using System;
using UnityEngine;

public class EnableButton : MonoBehaviour
{
	public GameObject layer2;

	public void EnableLayer2()
	{
		try
		{
			base.gameObject.SetActive(false);
			layer2.SetActive(true);
		}
		catch (Exception message)
		{
			Debug.LogError(message);
		}
	}
}
